/**
 * @author n0tnull
 */
package fr.gadcparis.envieparisienne;

import greendroid.app.GDApplication;
import org.acra.*;
import org.acra.annotation.ReportsCrashes;
//import android.os.Build;
//import android.os.StrictMode;

@ReportsCrashes(formKey = "dDRRMnYtLUpUZzJ6WUw3bERON0hLRnc6MQ")
public class EnvieParisienneApplication extends GDApplication{

//	private static final boolean DEVELOPER_MODE = true;
	
	@Override
	public void onCreate() {
//		if (DEVELOPER_MODE && Build.VERSION.SDK_INT > Build.VERSION_CODES.GINGERBREAD) {
//	        StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
//	        		//.penaltyDialog()
//	                .detectDiskReads()
//	                .detectDiskWrites()
//	                .detectNetwork()
//	                .penaltyLog()
//	                .build());
//	    }

		ACRA.init(this);
		super.onCreate();
	}
	
	@Override
	public Class<?> getHomeActivityClass() {
		return EnvieParisienneActivity.class;
	}
	
}
